
//聊天列表模型
class ExpertMessage {
  int? raw;
  int? total;
  List<Rows>? rows;
  int? code;
  String? msg;

  ExpertMessage({this.raw, this.total, this.rows, this.code, this.msg});

  ExpertMessage.fromJson(Map<String, dynamic> json) {
    raw = json['raw'];
    total = json['total'];
    if (json['rows'] != null) {
      rows = <Rows>[];
      json['rows'].forEach((v) {
        rows!.add(new Rows.fromJson(v));
      });
    }
    code = json['code'];
    msg = json['msg'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['raw'] = this.raw;
    data['total'] = this.total;
    if (this.rows != null) {
      data['rows'] = this.rows!.map((v) => v.toJson()).toList();
    }
    data['code'] = this.code;
    data['msg'] = this.msg;
    return data;
  }
}

class Rows {
  dynamic searchValue;
  String? createBy;
  String? createTime;
  String? updateBy;
  String? updateTime;
  String? remark;
  Params? params;
  int? id;
  String? membersNo;
  String? memberImage;
  int? neverRead;
  int? adverseId;
  String? adverseNo;
  String? adverseName;
  int? projectId;
  String? projectNo;
  String? projectName;
  dynamic projectLabel;
  String? kind;
  bool? exhibition;
  bool? evaluate;
  String? delFlag;
  int? version;

  Rows(
      {this.searchValue,
      this.createBy,
      this.createTime,
      this.updateBy,
      this.updateTime,
      this.remark,
      this.params,
      this.id,
      this.membersNo,
      this.memberImage,
      this.neverRead,
      this.adverseId,
      this.adverseNo,
      this.adverseName,
      this.projectId,
      this.projectNo,
      this.projectName,
      this.projectLabel,
      this.kind,
      this.exhibition,
      this.evaluate,
      this.delFlag,
      this.version});

  Rows.fromJson(Map<String, dynamic> json) {
    searchValue = json['searchValue'];
    createBy = json['createBy'];
    createTime = json['createTime'];
    updateBy = json['updateBy'];
    updateTime = json['updateTime'];
    remark = json['remark'];
    params =
        json['params'] != null ? new Params.fromJson(json['params']) : null;
    id = json['id'];
    membersNo = json['membersNo'];
    memberImage = json['memberImage'];
    neverRead = json['neverRead'];
    adverseId = json['adverseId'];
    adverseNo = json['adverseNo'];
    adverseName = json['adverseName'];
    projectId = json['projectId'];
    projectNo = json['projectNo'];
    projectName = json['projectName'];
    projectLabel = json['projectLabel'];
    kind = json['kind'];
    exhibition = json['exhibition'];
    evaluate = json['evaluate'];
    delFlag = json['delFlag'];
    version = json['version'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['searchValue'] = this.searchValue;
    data['createBy'] = this.createBy;
    data['createTime'] = this.createTime;
    data['updateBy'] = this.updateBy;
    data['updateTime'] = this.updateTime;
    data['remark'] = this.remark;
    if (this.params != null) {
      data['params'] = this.params!.toJson();
    }
    data['id'] = this.id;
    data['membersNo'] = this.membersNo;
    data['memberImage'] = this.memberImage;
    data['neverRead'] = this.neverRead;
    data['adverseId'] = this.adverseId;
    data['adverseNo'] = this.adverseNo;
    data['adverseName'] = this.adverseName;
    data['projectId'] = this.projectId;
    data['projectNo'] = this.projectNo;
    data['projectName'] = this.projectName;
    data['projectLabel'] = this.projectLabel;
    data['kind'] = this.kind;
    data['exhibition'] = this.exhibition;
    data['evaluate'] = this.evaluate;
    data['delFlag'] = this.delFlag;
    data['version'] = this.version;
    return data;
  }
}

class Params {
  Params();
  Params.fromJson(Map<String, dynamic> json) {}

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    return data;
  }
}
